// post方法
export async  function post(option) {
  return new Promise((resolve, reject) => {
    wx.request({
      url: option.url,
      method: 'post',
      // url:'http://123.207.32.32:8000/recommend',
      header: {
        'Authorization': `eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhcmVhQ29kZSI6IjUxMDAwMCIsInVzZXJfbmFtZSI6Imd1b3lhbmNodW4iLCJzY29wZSI6WyJ3ZWJjbGllbnQiXSwibG9naW5OYW1lIjoiZ3VveWFuY2h1biIsImV4cCI6MTU3MTczNTY4NCwidXNlck5hbWUiOiLpg63oibPmmKUiLCJ1c2VySWQiOjE0OCwiYXV0aG9yaXRpZXMiOlsiVVNFUiJdLCJqdGkiOiJjODdmM2Y0Ny1mZTk2LTQ3ZDktYjVhYy00MTE0ZDcwNjcyMWYiLCJvcmdJZCI6MywiY2xpZW50X2lkIjoic3VwZXJub3ZhX3dlYl9jbGllbnQifQ.2KRhlc_BgaOWgHsmMWR60i88JAz5GctJzNk4OarvIW4`
      },
      success: resolve,
      fail: reject
    })
  })
}